package com.tutorial.transactional.mapper;

import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

public interface AccountMapper {
    // 存钱
    void incrMoney(@Param("accountName") String accountName, @Param("money") BigDecimal money);

    // 取钱
    void decrMoney(@Param("accountName") String accountName, @Param("money") BigDecimal money);
}
